import db from '../dbserver'
import Sequelize from 'sequelize'

const Kind = db.define('kind', {
    id: {
        type: Sequelize.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
    },
    kind_name: {
        type: Sequelize.STRING(30),
        allowNull: true
    },
    kind_code: {
        type: Sequelize.STRING(10),
        allowNull: true
    }
}, {
    timestamps: false,
    freezeTableName: true,
    tableName: 'kind'
});
export default Kind
